package com.example.backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.backend.entity.QiShou;

public interface IQiShouService {
    /**
     * 增加骑手
     */
    boolean addQiShou(QiShou qiShou);

    /**
     * 删除骑手
     */
    boolean deleteQiShou(Integer qsid);

    /**
     * 修改骑手
     */
    boolean updateQiShou(QiShou qiShou);


    /**
     * 模糊查询骑手
     */
    IPage<QiShou> selectQiShouByCondition(QiShou qiShou, Integer currentPage, Integer pageSize,String sortField,String sortOrder);

    QiShou selectQiShouByYhid(Integer yhid);
}
